<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_enabled(self, name):
 """Check if given service name is enabled """

        if self.services and name in self.services:
            return self.services[name]['config'] == 'enabled'
        return False