static function resourceExists($resource) { $resourcedao = new ResourceDao(); return $resourcedao->exists($resource); }