```python
def common_element(list1, list2):
    """
    Checks if two lists have at least one common element.

    Args:
        list1: The first list.
        list2: The second list.

    Returns:
        True if there is at least one common element, False otherwise.
    """
    set1 = set(list1)
    for element in list2:
        if element in set1:
            return True
    return False
```