import re


def has_datas(command):
    """ Function to determine if there is data in the curl command, even if the datas are empty 
    or only if there is --data or -d without something next to it."""
    has_datas_pattern = r"(-d|--data)"
    has_datas = re.search(has_datas_pattern, command)
    return True if has_datas else False