/**
 * can $list be safely (and sensibly) used in a foreach() loop?
 *
 * @param  mixed $list
 *         the value to inspect
 * @return bool
 *         TRUE if $list can be used in a foreach() loop
 *         FALSE otherwise
 */
function is_list($list)
{
    return IsList::check($list);
}
 /**
  * @covers ::check
  * @dataProvider provideNonLists
  *
  * @param mixed $list
  *        the non-list that we're going to use
  */
 public function test_anything_else_returns_false($list)
 {
     // ----------------------------------------------------------------
     // setup your test
     // ----------------------------------------------------------------
     // perform the change
     IsList::check($list, '$list');
     // ----------------------------------------------------------------
     // test the results
 }