def METHOD_NAME(nlp_text):
    # First we make sure that the input is of correct type
    # by using the assert command to check the input type
    assert type(nlp_text) == spacy.tokens.doc.Doc
    # Let's set up a placeholder list for our Entities
    Entities = []
    # We begin then begin looping over the Doc object
    for entity in nlp_text.ents:
            # Append entity to the list of entities
            Entities.append(entity.text)
    # When the loop is complete, return the list of Entities
    return Entities