def is_package_installed(self, package_name, version=None):
        with settings(warn_only=True):
            package_string = self.execute("gem list --local | tr '[A-Z]' '[a-z]' | grep %s%s" %
                                          (package_name, version and '(%s)' % version or ''),
                                          stdout=False, sudo=self.use_sudo)
            return package_name in package_string
Creates a color object from 4 integer components in 0->255 range.
dataset/ETHPy150Open python-provy/provy/provy/more/debian/package/gem.py/GemRole.is_package_installed--crossover with--dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/color.py/ColorRGBA.from_rgba8