Vendor/langcode-conv/zendframework/zend-stdlib/src/ArrayUtils.php
public static function hasIntegerKeys($value, $allowEmpty = false)
    {
        if (!is_array($value)) {
            return false;
        }

        if (!$value) {
            return $allowEmpty;
        }

        return count(array_filter(array_keys($value), 'is_int')) > 0;
    }
public static function hasIntegerKeys($value, $allowEmpty = false)
    {
        if (!is_array($value)) {
            return false;
        }

        if (!$value) {
            return $allowEmpty;
        }

        return count(array_filter(array_keys($value), 'is_int')) > 0;
    }
public static function hasIntegerKeys ( $ value , $ allowEmpty = false ) { if ( ! is_array ( $ value ) ) { return false ; } if ( ! $ value ) { return $ allowEmpty ; } return count ( array_filter ( array_keys ( $ value ) , 'is_int' ) ) > 0 ; }
Test whether an array contains one or more integer keys

@param  mixed $value
@param  bool  $allowEmpty    Should an empty array() return true
@return bool
Test whether an array contains one or more integer keys