def get_collision_data(collision_manager):
    """
    Helper function for determining if a collision is ocurring
    Args:
        collision_manager: ColliderManager object populated with an arm and optional obstacle
    Returns:
        boolean for collision
    """
    collision_manager.update()
    inter_collisions = False
    if len(collision_manager.collision_objects) > 1:
        # if there's another object in the collision manager, it's likely an obstacle
        #   that we need to consider.
        inter_collisions = collision_manager.checkCollisions()[0]
    solo_collisions = collision_manager.collision_objects[0].checkInternalCollisions()
    if inter_collisions or solo_collisions:
        return True
    return False