def detectAndroidPhone(self):
        if self.detectAndroid() \
           and UAgentInfo.mobile in self.__userAgent:
            return True
        #Special check for Android phones with Opera Mobile. They should report here.
        if self.detectOperaAndroidPhone():
            return True
        #Special check for the HTC Flyer 7" tablet. It should report here.
        return UAgentInfo.deviceHtcFlyer in self.__userAgent
Return input path minus any trailing slashes
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/mdetect.py/UAgentInfo.detectAndroidPhone--crossover with--dataset/ETHPy150Open resync/resync/resync/mapper.py/Map.strip_trailing_slashes