public function hasValue($value, bool $strict = false): bool
    {
        return in_array($value, $this->data, $strict);
    }
public function hasValue($value, bool $strict = false): bool
    {
        return in_array($value, $this->data, $strict);
    }
public function hasValue ( $ value , bool $ strict = false ) : bool { return in_array ( $ value , $ this -> data , $ strict ) ; }
Has value.
@param  any  $value
@param  bool $strict
@return bool
Has value .