<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getHidden(self):
 """ Returns whether if the analysis must be displayed in results reports or not, as well as in analyses view when the user logged in is a Client Contact. If the value for the field HiddenManually is set to False, this function will delegate the action to the method getAnalysisServiceSettings() from the Analysis Request. If the value for the field HiddenManually is set to True, this function will return the value of the field Hidden. :return: true or false :rtype: bool """

        if self.getHiddenManually():
            return self.getField('Hidden').get(self)
        request = self.getRequest()
        if request:
            service_uid = self.getServiceUID()
            ar_settings = request.getAnalysisServiceSettings(service_uid)
            return ar_settings.get('hidden', False)
        return False