ARCore - how do I check orientation of a spawned AR plane

Edit: seem to have found a solution, probably not perfect though, if anything better please update:
Firstly Get Local to world transform of the plane, then its Get Up Vector from this location, this will return x:0, y:0, z:1 for horizontal, so anything else will be ‘vertical’