public function isValidProjectId($projectId) { $table = $this->getProjectTable(); $filter = array('projectID' => $projectId, 'trash' => 0); return $this->rowExists($table, $filter); }