Bug 19936: Add the Koha::Patron->has_valid_userid method