<s> from agamotto . utils import execute , grepc <EOL> def installed ( package ) : <EOL> """<STR_LIT>""" <EOL> try : <EOL> return grepc ( execute ( "<STR_LIT>" % package ) , package ) > <NUM_LIT:0> <EOL> except Exception , _e : <EOL> return False <EOL> def is_installed ( package ) : <EOL> """<STR_LIT>""" <EOL> return installed ( package ) </s>
