This is the same block from _has_access_token() and $row is returned from that method. Could probably just call that here to reduce duplication.