src/models/Domain.php
public function isZone($zones)
    {
        $zone = $this->getZone();

        return is_array($zones) ? in_array($this->getZone(), $zones, true) : $zone === $zones;
    }
public function isZone($zones)
    {
        $zone = $this->getZone();

        return is_array($zones) ? in_array($this->getZone(), $zones, true) : $zone === $zones;
    }
public function isZone ( $ zones ) { $ zone = $ this -> getZone ( ) ; return is_array ( $ zones ) ? in_array ( $ this -> getZone ( ) , $ zones , true ) : $ zone === $ zones ; }
a
Returns true if the zone is among given list of zones.
@param array|string $zones zone or list of zones
@return bool
a Returns true if the zone is among given list of zones .