Inpsyde\MultilingualPress\Core\InternalLocations::has PHP Method

has() public method

Checks if a location with the given name exists.
Since: 3.0.0
public has ( string $name ) : boolean
$name string Location name.
return boolean Whether or not a location with the given name exists.
    public function has($name)
    {
        return array_key_exists($name, $this->locations);
    }
InternalLocations