Checks for an asset formula.

@param string $name An asset name

@return Boolean If there is a formula
438354
public function hasFormula($name)
    {
        if (!$this->loaded) {
            $this->load();
        }

        return isset($this->formulae[$name]);
    }
571342
public function isUsing($name)
    {
        if (isset($this->using)) {
            if ($this->using->getName() == $name) {
                return true;
            }
        }

        return false;
    }
275524
public function __isset( $name )
    {
        return ( isset( $this->properties[$name] ) || isset( $this->storageOptions->$name ) );
    }
1043534
public function hasProperty($name)
    {
        $result = false;

        //Handle computed properties
        if(!parent::offsetExists($name))
        {
            if(!empty($name))
            {
                $properties = $this->getComputedProperties();

                if(isset($properties[$name])) {
                    $result = true;
                }
            }
        }
        else $result = true;

        return $result;
    }
1029687
public function check($name) {
        // is in cache?
        if(isset($this->cache[$name]))
            return true;

        return $this->cookies->has($name);
    }
764040
public function has($name)
    {
        return isset($this->properties[$name]) || isset($this->delivery_info[$name]);
    }
36517
public function __isset($name) {
        if (isset(self::$standardproperties[$name])) {
            $value = $this->__get($name);
            return isset($value);
        }
        return false;
    }
901633
public function hasFact($name)
    {
        if ($this->hasFacts() && array_key_exists($name, $this->facts)) {
            return true;
        }
        return false;
    }
1225365
public static function isValidFreeAssetName($name) {
        if (substr($name, 0, 1) != 'A') { return false; }

        $number_string = substr($name, 1);
        if (!preg_match('!^\\d+$!', $number_string)) { return false; }
        if (bccomp($number_string, "95428956661682201") < 0) { return false; }
        if (bccomp($number_string, "18446744073709551615") > 0) { return false; }

        return true;
    }
1174588
protected function hasVcsRepository($name)
    {
        foreach ($this->repositoryManager->getRepositories() as $mRepo) {
            if ($mRepo instanceof AssetVcsRepository
                    && $name === $mRepo->getComposerPackageName()) {
                return true;
            }
        }

        return false;
    }
961948
public function __isset($name)
    {
        $normalized = lcfirst($name);
        $property = "_{$normalized}";
        if (property_exists($this, $property)) {
            return true;
        }
        return false;
    }
205828
public function hasValidator(string $name): bool
    {
        $rules = $this->getRules();

        return \method_exists($this, 'validate' . \ucfirst($name)) || isset($rules[$name]);
    }
85157
public function isVirtual($name)
    {
        if (!is_array($name)) {
            return !empty($this->_columns[$name]['virtual']);
        }
        foreach ($name as $field) {
            if (!$this->isVirtual($field)) {
                return false;
            }
        }
        return true;
    }
1327224
public function hasBit(string $name) : bool
    {
        foreach ((array)$this as $element) {
            if ($element->getElement()->getValue() == $name) {
                return true;
            }
        }
        return false;
    }
822949
protected function isValidAttribute($name)
    {
        $pattern = '~^' . self::ATTRIBUTE_REGEX . '$~i';
        $result = @preg_match($pattern, $name);
        return (bool)$result;
    }
827014
public function has($name) {
        $field = Condition::safeField($name);

        return isset ($this->names [ $field ]);
    }
364841
public function __isset(string $name)
	{
		if(isset($this->columns[$name]) || isset($this->related[$name]))
		{
			return true;
		}

		return $this->isRelation($name) && $this->getValue($name) !== null;
	}