from typing import Dict


def cgi_method_is_post(environ: Dict[str, str]) -> bool:
    """
    Determines if the CGI method was ``POST``, given the CGI environment.
    """
    method = environ.get("REQUEST_METHOD", None)
    if not method:
        return False
    return method.upper() == "POST"