import json


def json_true(json_line):
    """ Checks JSON command is valid and will run.

        Parameters:
        json_line (str):

        Returns:
        Bool: True if line passes.
    """
    try:
        json_object = json.loads(json_line)
    except ValueError:
        return False
    return True