def __control__(self) -> bool:
        """
        Check if the required dependencies are installed and API key is available.
        
        Returns:
            True if all requirements are met
        
        Raises:
            ImportError: If required packages are not installed
            EnvironmentError: If API key is not available
        """
        # Analyze dependencies
        dependencies = self.analyze_dependencies()
        missing = [dep for dep, installed in dependencies.items() if not installed]
        
        # Print missing dependencies
        if missing:
            # Use the new printing function
            missing_dependencies("FirecrawlCrawlWebsiteTool", missing)
            
            # Raise ImportError with combined message for all missing dependencies
            install_cmd = "pip install " + " ".join(missing)
            raise ImportError(f"Missing dependencies: {', '.join(missing)}. Please install them with: {install_cmd}")
        
        # Check if FIRECRAWL_API_KEY is set in environment variables
        if "FIRECRAWL_API_KEY" not in os.environ:
            try:
                # Try to load API key from .env file
                api_key = FirecrawlCrawlWebsiteTool._load_api_key_from_env_file()
                if api_key is None:
                    # API key not found in .env file
                    missing_api_key("FirecrawlCrawlWebsiteTool", "FIRECRAWL_API_KEY")
                    raise EnvironmentError("FIRECRAWL_API_KEY environment variable is not set and could not be found in .env file")
            except ImportError:
                # If dotenv is not installed, we can't load from .env file
                missing_api_key("FirecrawlCrawlWebsiteTool", "FIRECRAWL_API_KEY", dotenv_support=False)
                raise EnvironmentError("FIRECRAWL_API_KEY environment variable is not set and python-dotenv is not installed")
        
        return True

        Check if the required dependencies are installed and API key is available.
        
        Returns:
            True if all requirements are met
        
        Raises:
            ImportError: If required packages are not installed
            EnvironmentError: If API key is not available
        
src/upsonic/tools.py