def delete(actor, parameters):
    """Delete a facet from an element."""
    if not parameters:
        message = 'You must specify an element and a facet.'
    else:
        arguments = parameters.split(' ')
        if len(arguments) == 1:
            message = 'What facet of element "' + arguments[0
                ] + '" would you like to delete?'
        elif len(arguments) != 2:
            message = 'You may only specify an element and a facet.'
        else:
            element, facet = arguments
            if element not in actor.universe.contents:
                message = 'The "' + element + '" element does not exist.'
            elif facet not in actor.universe.contents[element].facets():
                message = ('The "' + element + '" element has no "' + facet +
                    '" facet.')
            else:
                actor.universe.contents[element].remove_facet(facet)
                message = ('You have successfully deleted the "' + facet +
                    '" facet of element "' + element +
                    '". Try "show element ' + element + '" for verification.')
    actor.send(message)
    return True
