github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/sharedaction/is_org_targeted.go (about)

     1  package sharedaction
     2  
     3  // IsOrgTargeted determines whether an org is being targeted by the CLI
     4  func (actor Actor) IsOrgTargeted() bool {
     5  	return actor.Config.HasTargetedOrganization()
     6  }