import re


def check_if_app_suggestion_needed(post_body):
    """
    Checks if given post satisfies constraints
    Expects lowercase string
    Looks for the phrases :
        (app OR application OR tool) AND (recommend  OR suggest OR recommendation)
    """
    word_list = re.sub("[^\w]", " ",  post_body).split()
    if "app" in word_list or "application" in word_list or "tool" in word_list:
        if "recommend" in word_list or "suggest" in word_list or "recommendation" in word_list:
            return True

    return False