class_docstr: Specification of a cluster environment.
class_docstr_tok: ["Specification","of","a","cluster","environment","."]
docstr: Detects the environment settings corresponding to this cluster and returns ``True`` if they match.
docstr_tok: ["Detects","the","environment","settings","corresponding","to","this","cluster","and","returns","``","True","``","if","they","match","."]
code: def detect() -> bool:
      """Detects the environment settings corresponding to this cluster and returns ``True`` if they match."""
  
file_path: pytorch-lightning/src/lightning/fabric/plugins/environments/cluster_environment.py
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 4 for calling the ClusterEnvironment obj's underlying member method code with example usage: obj.detect() without return types