def METHOD_NAME(self):
    """Check if the pass is an analysis pass.
    If the pass is an AnalysisPass, that means that the pass can analyze the DAG and write
    the results of that analysis in the property set. Modifications on the DAG are not allowed
    by this kind of pass.
    """
    return isinstance(self, AnalysisPass)