def instance_supports_efa(instance_type: str) ->bool:
    """Checks if instance supports Amazon Elastic Fabric Adapter"""
    return instance_type in ['c5n.18xlarge', 'i3en.24xlarge', 'p3dn.24xlarge']
