lib/core/tools/Test-PSCustomObjectMember.psm1

function Test-PSCustomObjectMember()
{
    param(
        $PSObject,
        $Name
    );

    if ($null -eq $PSObject) {
        return $FALSE;
    }

    return ([bool]($PSObject.PSObject.Properties.Name -eq $Name));
}