public static function propertyIsSystem($property_name) { if (empty(self::$systemProperties)) { self::$systemProperties = SJB_DB::query("SHOW COLUMNS FROM `listings`"); } foreach (self::$systemProperties as $property) { if ($property['Field'] == $property_name) { return true; } } return false; }