public static function isAvailable($type) { return in_array(strtolower($type), static::available()); }