f88840e5b7
This method was in Msf::DbManager class but doesn't actually use the DB. This required you to have a DB connection just to do the check. Moved it out to a helper library so we have access to it without forcing a DB connection.