how to check that there is an array in it in php code example
Example: php value in array
in_array ( mixed $needle , array $haystack , bool $strict = false ) : bool
in_array ( mixed $needle , array $haystack , bool $strict = false ) : bool