'Check whether the user is currently logged-in
- tries Basic if not'

def s3_logged_in(self):

    if self.override:
        return True
    if (not self.is_logged_in()):
        basic = self.basic()
        try:
            return basic[2]
        except TypeError:
            return basic
        except:
            return False
    return True
