<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def GetServiceObj(self,servicename):
 """Given a service name string, returns the object that corresponds to the service"""

        for sobj in self.services:
            if sobj.GetName().lower()==servicename.lower():
                return sobj

        return None