Types/PipelineAST/get_IsAssigned.ps1

$this.Parent -and
$this.Parent.GetType().Name -in 'AssignmentStatementAST', 'HashtableAST'