

def hasSchemeWithName(self, scheme_name):
    "\n        This method is used for both 'xcworkspace' and 'xcodeproj' classes. It returns a two\n        element tuple that contains the following:\n        \n        First element:\n            A 'True' or 'False' value indicating if a scheme with the passed name was found in \n            this project or workspace file.\n        \n        Second element:\n            The scheme object if a scheme with matching name was found, None otherwise.\n        "
    schemes = self.schemes()
    found_scheme = None
    scheme_filter = filter((lambda scheme: (scheme.name == scheme_name)), schemes)
    if (len(scheme_filter) > 0):
        found_scheme = scheme_filter[0]
    return ((found_scheme != None), self)

dataset/ETHPy150Open samdmarshall/xcparse/xcparse/Xcode/xc_base.py xc_base.hasSchemeWithName/VarMisuse@74/250 `found_scheme`->`self`