public static function firstBy(array $array, Closure $closure)
    {
        foreach ($array as $key => $value) {
            if (true === call_user_func_array($closure, array($key, $value))) {
                return $value;
            }
        }
        return null;
    }