Tells whether the grid control has the focus, or not.
Call this function to determine whether the grid control has the input focus, or not.