Overrides StringInterface::hasLocation
public function hasLocation($type, $name) { $locations = $this->getLocations(); return isset($locations[$type]) ? !empty($locations[$type][$name]) : FALSE; }