// anti-pattern
if (this.IsParameterBound(c => c.PassThru))
{
WriteObject(true);
}It is possible to pass a $false to switch parameter, in that case, however, IsParameterBound() will still return true.
if (PassThru)
{
WriteObject(true);
}