public static function isMultipleAttribute($type) { switch ($type) { case 4: case 5: case 6: return true; break; default: return false; break; } }