Cards have an isVictory method which is better to use here, since cards like Harem will have a vp number instead of a function.

Also, this is generally the right way to test if something's a function, but we're using the underscore library elsewhere in the project which has an isFunction helper: http://underscorejs.org/#isFunction