def detectIphoneOrIpod(self):
        #We repeat the searches here because some iPods may report themselves as an iPhone, which would be okay.
        return UAgentInfo.deviceIphone in self.__userAgent \
            or UAgentInfo.deviceIpod in self.__userAgent
Return detection of an iPhone or iPod Touch
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/mdetect.py/UAgentInfo.detectIphoneOrIpod