also, this check should not be in the extend. this is a utility method that should not have any specific logic on it. for example, how do u know that the collision is a module? maybe it is something else.