private function hasRequiredParams() { return $this->consumerKey && $this->consumerSecret && $this->toolConfiguration->getLaunchUrl() && array_key_exists(LaunchParameters::RESOURCE_LINK_ID, $this->parameters); }