def METHOD_NAME(name):
    """Search for a lifecycle environment and specify an org ID.
    :id: 110e4777-c374-4365-b676-b1db4552fe51
    :Steps:
        1. Create an organization.
        2. Create a lifecycle environment belonging to the organization.
        3. Search for lifecycle environments in the organization.
    :expectedresults: Only "Library" and the lifecycle environment just
        created are in the search results.
    :CaseLevel: Integration
    :parametrized: yes
    """
    new_org = entities.Organization().create()
    lc_env = entities.LifecycleEnvironment(organization=new_org).create()
    lc_envs = lc_env.search({'organization'})
    assert len(lc_envs) == 2
    assert {lc_env_.name for lc_env_ in lc_envs}, {'Library', lc_env.name}