Checks whether a given building is cached in memory
Whether or not it is cached in memory
the building to test