'Test whether the current user has any unfulfilled milestones preventing
them from accessing this block.'

@staticmethod
def has_pending_milestones_for_user(block_key, usage_info):

    return bool(milestones_helpers.get_course_content_milestones(unicode(block_key.course_key), unicode(block_key), 'requires', usage_info.user.id))
