<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def get_relavent_units(self):
        '''
        Retrieves the relevant units for this data block.

        Returns:
            All flags related to this block.
        '''
        relavent_units = {}

        for location,unit in self.units.items():
            if self.unit_is_related(location, self.worksheet):
                relavent_units[location] = unit

        return relavent_units