code: public static boolean isCorner(IBlockState state)
  	{
  		WallComponent wc = IComponent.getComponent(WallComponent.class, state.getBlock());
  		if (wc == null)
  			return false;
  
  		PropertyBool property = wc.getProperty();
  		if (property == null || !state.getProperties().containsKey(property))
  			return false;
  
  		return state.getValue(property);
  	}
docs: Gets whether the wall is a corner or not.
  
  @param state the state
  @return the EnumFacing, null if the block is not {@link DirectionalComponent}