According to the api it returns a Phaser.Geom.Rectangle, which provides a contains method.
However, this code:
Phaser.Display.Bounds.GetBounds(polygon).contains(x, y)
yields this error:
Uncaught TypeError: Phaser.Display.Bounds.GetBounds(...).contains is not a function
Why?