Conditional property access and invocation