def METHOD_NAME(self):
    """
    Returns a list of all ORA blocks in the course, excluding `self`, and any orphaned blocks.
    """
    blocks = self._get_course_ora_blocks()
    self_location = self.location.for_branch(None)
    def not_orphan_or_self(block):
        return block.parent is not None and block.location.for_branch(None) != self_location
    return [block for block in blocks if not_orphan_or_self(block)]