php check if associative array contains value return boolean code example
Example: in_array
in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) : bool
in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) : bool