<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def coordinates(self, dms: bool = False) -> dict: """Generate random geo coordinates. :param dms: DMS format. :return: Dict with coordinates. """

        return {
            'longitude': self._get_fs('lg', dms),
            'latitude': self._get_fs('lt', dms),
        }