public static function contains($element) { return function ($array) use($element) { return Arrays::contains($array, $element); }; }