added method to check if a coverage has a attribute table and a referenced based access