def quadrant(address):

    return [quadrant for quadrant in address.split(' ') if quadrant in ['NW', 'NE', 'SW', 'SE']] or None
This method performs a contact lookup based on :data:`**kwargs`.
dataset/ETHPy150Open codelikeagirlcny/python-lessons-cny/code-exercises-etc/section_15_(intermediate)/quadrant.py/quadrant--crossover with--dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/contact/providers/__init__.py/BaseContactProvider.perform_query