Using a PARAM to Check a Boolean Condition

Is this a valid use of a $PARAM?

I have a couple of buttons with visible conditions checking if a container HasNext or HasPrevious. If I hard-code the Container ID, everything works as expected.

Code:
<visible>Container($PARAM[list_id]).HasPrevious</visible>

When I attempt to use a $PARAM for any boolean condition, my Kodi.log idicates the following:

Code:
15:59:12.986 T:6012   ERROR: Misplaced [
15:59:12.986 T:6012   ERROR: Error parsing boolean expression Container($PARAM[list_id]).HasPrevious
15:59:12.986 T:6012   ERROR: Misplaced [
15:59:12.986 T:6012   ERROR: Error parsing boolean expression Container($PARAM[list_id]).HasNext

I am unable to find anything stating that this is not a valid use of PARAM. Additionally, it works for InfoLabels on the same Container.

Edit: I should mention I am attempting my testing on Kodi 17.1.