Version: 2019.3
public static bool visible ;

説明

キーボードがスクリーン上に表示されている場合は true を返します