Title pretty much says it all. I'm making some code that will teleport entities to a random location and need to check if the block they're going to teleport to is a full block (or has a full side on top).
I remember a while ago that BlockState was the class to look in for this, but if not then I have access to a Level and a BlockPos to get this information from.