def verify_directory(directory_name, directory_location, directory_create=False):
    """
    Function to verify if a directory exists
    Args:
        directory_name: The name of directory to check
        directory_location: The location of the directory, derive from the os module
        directory_create: If you want to create the directory

    Returns: returns boolean True or False, but if you set directory_create to True it will create the directory

    """
    if not directory_create:
        return __os.path.exists(__os.path.join(directory_location, directory_name))
    elif directory_create:
        good = __os.path.exists(__os.path.join(directory_location, directory_name))
        if not good:
            __os.mkdir(__os.path.join(directory_location, directory_name))