Would be better to pass through a type constant rather than true/false as true/false has been deprecated.