src/ORM/DataObjectSchema.php
public function classHasTable($class)
    {
        if (!is_subclass_of($class, DataObject::class)) {
            return false;
        }

        $fields = $this->databaseFields($class, false);
        return !empty($fields);
    }
public function classHasTable($class)
    {
        if (!is_subclass_of($class, DataObject::class)) {
            return false;
        }

        $fields = $this->databaseFields($class, false);
        return !empty($fields);
    }
public function classHasTable ( $ class ) { if ( ! is_subclass_of ( $ class , DataObject :: class ) ) { return false ; } $ fields = $ this -> databaseFields ( $ class , false ) ; return ! empty ( $ fields ) ; }
Check if the given class has a table

@param string $class

@return bool
Check if the given class has a table