def hasSchemeWithName(self, scheme_name):
        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, found_scheme);
Tests the outputting of the correct name if assigned one.
dataset/ETHPy150Open samdmarshall/xcparse/xcparse/Xcode/xc_base.py/xc_base.hasSchemeWithName--crossover with--dataset/ETHPy150Open django/django/tests/field_deconstruction/tests.py/FieldDeconstructionTests.test_name