def support(self, version):
        """
        return `True` if current python version match version passed.
       
        raise a deprecation warning if only PY2 or PY3 is supported as you probably
        have a conditional that should be removed. 

        """

        if not self._known_version(version):
            warn("unknown feature: %s"%version)
            return True
        else:
            if not self._get_featureset_support(version):
                warn("You are not supporting %s anymore "%str(version), UserWarning, self.level)
            if self._alone_version(version):
                warn("%s is the last supported feature of this group, you can simplifiy this logic. "%str(version), UserWarning,self.level)
                
            return self.predicates.get(version, True)




        if (not self.PY3_supported) or (not self.PY2_supported):
            warn("You are only supporting 1 version of Python", UserWarning, self.level)

        if version == PY3:
            return sys.version_info.major == 3
        elif version == PY2:
            return sys.version_info.major == 2
return `True` if current python version match version passed.
       
        raise a deprecation warning if only PY2 or PY3 is supported as you probably
        have a conditional that should be removed.