public function isResource($resource, $prefix = NULL, $active = NULL, $strict = false)
	{
		$this->setActive($active);
		if ($prefix && is_string($prefix)) {
			$prefix = str_replace('.', '/', $prefix);
			$search = trim($prefix,'/').'/'.trim($resource, '/');
		} else {
			$search = trim($resource, '/');
		}
		return ($this->pathContains($search, $strict) ? $this->active : '');
	}