import re


def was_replied(df):
    """Looks to see if something like Re or RE: is in the subject. Uses regular expressions
    """
    return df['subject'].str.contains('re?\:?\s', flags=re.IGNORECASE).values