public function isDeleteable($trackId)
    {
        if (! $trackId) {
            return true;
        }
        $sql = "SELECT gto_id_token FROM gems__tokens WHERE gto_id_track = ? AND gto_start_time IS NOT NULL";
        return (boolean) ! $this->db->fetchOne($sql, $trackId);
    }
public function isDeleteable($trackId)
    {
        if (! $trackId) {
            return true;
        }
        $sql = "SELECT gto_id_token FROM gems__tokens WHERE gto_id_track = ? AND gto_start_time IS NOT NULL";
        return (boolean) ! $this->db->fetchOne($sql, $trackId);
    }
public function isDeleteable ( $ trackId ) { if ( ! $ trackId ) { return true ; } $ sql = "SELECT gto_id_token FROM gems__tokens WHERE gto_id_track = ? AND gto_start_time IS NOT NULL" ; return ( boolean ) ! $ this -> db -> fetchOne ( $ sql , $ trackId ) ; }
Can this track be deleted as is?

@param int $trackId
@return boolean
Can this track be deleted as is?