checks whether property with given name is available

@param   string  $name
@return  bool
@since   3.4.0
354479
private function hasProperty(string $name): bool
    {
        if (!isset($this->index[PropertyBinding::TYPE])) {
            return false;
        }

        return $this->index[PropertyBinding::TYPE]->hasProperty($name);
    }
622942
public function __isset($name)
    {
        if (!isset($this->_exposedProperties[$name])) {
            return false;
        }
        $key = $this->_exposedProperties[$name];
        if (substr($key, 0, 4) === '_get') {
            deprecationWarning(sprintf(
                'Response::%s is deprecated. Use Response::%s instead.',
                $name,
                $this->_deprecatedMagicProperties[$name]
            ));

            $val = $this->{$key}();

            return $val !== null;
        }

        if ($key === 'code') {
            deprecationWarning(
                'Response::code() is deprecated. ' .
                'Use Response::getStatusCode() instead.'
            );
        }

        return isset($this->{$key});
    }
213367
public function has($name)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($this->checkCache($key)) {
            return $path ? $this->cache[$key]->has($path) : true;
        }

        return false;
    }
929341
public function hasOption(string $name): bool
    {
        $this->validateName($name);

        return array_key_exists($name, $this->config);
    }
721335
public static function has(string $name)
    {
        $names = Imi::parseDotRule($name);
        if (isset($names[0]))
        {
            $first = array_shift($names);
            if(isset(static::$configs[$first]))
            {
                return null !== static::$configs[$first]->get($names, null);
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
505334
public function has($name)
    {
        Types::assert(['string' => [$name]]);

        return array_key_exists(strtolower($name), $this->headers);
    }
587926
public function has($name)
    {
        if ($name === 'Cache-Control') {
            return ($this->getCacheControlHeader() !== null);
        }
        return isset($this->fields[$name]);
    }
827014
public function has($name) {
        $field = Condition::safeField($name);

        return isset ($this->names [ $field ]);
    }
920482
public function __isset($name) {
        if (method_exists($this, 'get_'.$name) ||
                property_exists($this, '_'.$name) ||
                array_key_exists($name, self::$sectionformatoptions[$this->modinfo->get_course()->format])) {
            $value = $this->__get($name);
            return isset($value);
        }
        return false;
    }
961948
public function __isset($name)
    {
        $normalized = lcfirst($name);
        $property = "_{$normalized}";
        if (property_exists($this, $property)) {
            return true;
        }
        return false;
    }
120631
public static function getDescriptionByName($name)
    {
        $key = strtoupper($name);
        if (isset(self::$availableNameList[$key])) {
            return self::$availableNameList[$key];
        } else {
            return false;
        }
    }
41489
public function has($name)
    {
        $this->connect();
        $key = $this->getCacheKey($name);

        return self::$instance->get($key) ? true : false;
    }
28978
public function hasProperty($name)
    {
        static $vars = null;
        if (! $vars) {
            $vars = get_object_vars($this);
        }

        return array_key_exists($name, $vars);
    }
581459
public function __isset( string $name )
   {

      if ( $this->hasWritableProperty( $name, $setterName ) )
      {
         return true;
      }

      return parent::__isset( $name );

   }
1054647
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
192056
public function exists(string $name): bool
    {
        $this->autoload();

        return \array_key_exists($name, $this->env);
    }
756991
public function hasWritableProperty( string $name, &$setterName ) : bool
   {

      if ( \in_array( $name, $this->ignoreSetProperties ) )
      {
         return false;
      }

      $setterName = 'set' . \ucfirst( $name );

      return \method_exists( $this, $setterName );

   }