[DBTablesUsers] Add a new overload method: isAccessible().

This version of isAccessible can specify hostgroup ID.