You can also do tests against function results. For example, you pass in a value "user_privileges" to your stylesheet. Below, you can then run if tests against your function for blocks within your templates.